package edu.thu.studio.ormdesigner.model.diagram.note;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import edu.thu.studio.ormdesigner.model.AbstractModel;

@XStreamAlias("note")
public class Note extends AbstractModel {
    
    private static final long serialVersionUID = -1064391414495613156L;
    
    @XStreamAsAttribute
    private String style;
    
    @XStreamAsAttribute
    private String text;
    
    @XStreamAsAttribute
    private Double x;
    
    @XStreamAsAttribute
    private Double y;
    
    @XStreamAsAttribute
    private Double width;
    
    @XStreamAsAttribute
    private Double height;
    
    public String getStyle() {
        return style;
    }
    
    public void setStyle(String style) {
        this.style = style;
    }
    
    public String getText() {
        return text;
    }
    
    public void setText(String text) {
        this.text = text;
    }
    
    public Double getX() {
        return x;
    }
    
    public void setX(Double x) {
        this.x = x;
    }
    
    public Double getY() {
        return y;
    }
    
    public void setY(Double y) {
        this.y = y;
    }
    
    public Double getWidth() {
        return width;
    }
    
    public void setWidth(Double width) {
        this.width = width;
    }
    
    public Double getHeight() {
        return height;
    }
    
    public void setHeight(Double height) {
        this.height = height;
    }
    
}
